dataSource {
    pooled = false
    driverClassName = "org.hsqldb.jdbcDriver"
    username = "sa"
    password = ""
}

hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
}
// environment specific settings
environments {
	development {
		dataSource {
						dbCreate = "create-drop" // one of 'create', 'create-drop','update'
		        driverClassName = "com.mysql.jdbc.Driver"
		        username = "root"
		        password = "qwerty"
		        dialect = "org.hibernate.dialect.MySQL5InnoDBDialect"
						url = "jdbc:mysql://localhost/mallow_test"
		}
	}
	test {
		dataSource {
						pooled = true
						dbCreate = "create-drop"
						url = "jdbc:hsqldb:mem:testDb"
		}
	}
	production {
		dataSource {
						dbCreate = "update"
						url = "jdbc:hsqldb:file:prodDb;shutdown=true"
		}
	}
}
